import { useImageType } from "@/store/store";

export default function () {
    const imageStore = useImageType();

    const requiredImageType = (type) => {
        const validtorImageType = imageStore.validtorImageType;
        return validtorImageType.call(imageStore, type);
    };

    return [imageStore.imageType, requiredImageType];
}
